﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="NPMonitor.Web.Account.Login" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
    <title>DSM</title>
    <link href="/Styles/login.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="fmLogin" runat="server">
    <div id="wrapper">
        <div id="container">
            <div class="loginPage">
                <div class="loginTitle">
                    <img src="/Images/login_Logo.png" title="Logo" />
                </div>
                <div class="loginInner">
                    <div class="loginInput">
                        <dl>
                            <dd>
                                <label>UserName:</label>
                                <asp:TextBox ID="txtUsername" runat="server" MaxLength="30"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvUsername" runat="server" Display="Dynamic" ControlToValidate="txtUsername"
                                    ValidationGroup="validateUserInfo" ForeColor="Red" CssClass="ErrorMsgUser"></asp:RequiredFieldValidator>
                            </dd>
                            <dd>
                                <label>Password:</label>
                                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" MaxLength="30"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvPassword" runat="server" Display="Dynamic" ControlToValidate="txtPassword"
                                ValidationGroup="validateUserInfo" ForeColor="Red" CssClass="ErrorMsgPsw"></asp:RequiredFieldValidator>
                            </dd>
                            <dd>
                                <label>&nbsp;</label>
                                <asp:CheckBox ID="chkRemeber" runat="server" Text="" />
                                <span class="spanWhite">Remeber me?</span>
                            </dd>
                            <dd class="loginBTN">
                                <label>&nbsp;</label>
                                <asp:Button ID="btnSubmit" runat="server" Text="Sign in" ValidationGroup="validateUserInfo"
                                        OnClick="btnSubmit_Click" />
                            </dd>
                            <dd style="margin-top:50px">
                                <asp:Label ID="lblErroeMsg" runat="server" Text="" ForeColor="Red"></asp:Label>
                            </dd>
                        </dl>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
